package org.ladybug.dao;

import java.io.Serializable;
import java.util.List;

import org.hibernate.criterion.DetachedCriteria;


public interface DAOService {

	public List findByCriteria(DetachedCriteria criteria);

	public List loadAll(Class class1);

	public 	Object load(Class entityClass, Serializable id);

	public Object get(Class entityClass, Serializable id);

	public void saveOrUpdate(Object entity);

	public Serializable save(Object ruolo);

}
